<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: texture_atlas_t Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">texture_atlas_t Struct Reference<div class="ingroups"><a class="el" href="group__texture-atlas.html">Texture atlas</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A texture atlas is used to pack several small regions into a single texture. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-atb-agg_8c-example.html#_a1">demo-atb-agg.c</a>, <a class="el" href="demo-benchmark_8c-example.html#_a0">demo-benchmark.c</a>, <a class="el" href="demo-cartoon_8c-example.html#_a1">demo-cartoon.c</a>, <a class="el" href="demo-console_8c-example.html#_a7">demo-console.c</a>, <a class="el" href="demo-display-list_8c-example.html#_a1">demo-display-list.c</a>, <a class="el" href="demo-distance-field_8c-example.html#_a0">demo-distance-field.c</a>, <a class="el" href="demo-font_8c-example.html#_a24">demo-font.c</a>, <a class="el" href="demo-outline_8c-example.html#_a0">demo-outline.c</a>, and <a class="el" href="demo-texture_8c-example.html#_a0">demo-texture.c</a>.</dd>
</dl></div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a975fcc5072f14e9daade21c4ebf73601"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a975fcc5072f14e9daade21c4ebf73601"></a>
<a class="el" href="structvector__t.html">vector_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#a975fcc5072f14e9daade21c4ebf73601">nodes</a></td></tr>
<tr class="memdesc:a975fcc5072f14e9daade21c4ebf73601"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocated nodes. <br/></td></tr>
<tr class="memitem:aa1fb802d48b70dc43e06e88f55f986aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1fb802d48b70dc43e06e88f55f986aa"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#aa1fb802d48b70dc43e06e88f55f986aa">width</a></td></tr>
<tr class="memdesc:aa1fb802d48b70dc43e06e88f55f986aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Width (in pixels) of the underlying texture. <br/></td></tr>
<tr class="memitem:a724b0e35c619f88b231eba83c39095cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a724b0e35c619f88b231eba83c39095cb"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#a724b0e35c619f88b231eba83c39095cb">height</a></td></tr>
<tr class="memdesc:a724b0e35c619f88b231eba83c39095cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Height (in pixels) of the underlying texture. <br/></td></tr>
<tr class="memitem:a099b3a476240070bc06248218c9e230c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a099b3a476240070bc06248218c9e230c"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#a099b3a476240070bc06248218c9e230c">depth</a></td></tr>
<tr class="memdesc:a099b3a476240070bc06248218c9e230c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Depth (in bytes) of the underlying texture. <br/></td></tr>
<tr class="memitem:af56de920973c1cb4621e31af7aeaf276"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af56de920973c1cb4621e31af7aeaf276"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#af56de920973c1cb4621e31af7aeaf276">used</a></td></tr>
<tr class="memdesc:af56de920973c1cb4621e31af7aeaf276"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocated surface size. <br/></td></tr>
<tr class="memitem:a03e72bd01b6e5e97c0cc032d22c11c45"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03e72bd01b6e5e97c0cc032d22c11c45"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#a03e72bd01b6e5e97c0cc032d22c11c45">id</a></td></tr>
<tr class="memdesc:a03e72bd01b6e5e97c0cc032d22c11c45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture identity (OpenGL) <br/></td></tr>
<tr class="memitem:a80f633ead9dbf1fb0c49503324f30753"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80f633ead9dbf1fb0c49503324f30753"></a>
unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__atlas__t.html#a80f633ead9dbf1fb0c49503324f30753">data</a></td></tr>
<tr class="memdesc:a80f633ead9dbf1fb0c49503324f30753"><td class="mdescLeft">&#160;</td><td class="mdescRight">Atlas data. <br/></td></tr>
</table>
</div><!-- contents -->
</div>
</body>
</html>
